package bda.model;


public class BilletReservation extends Billet {
	private int numPlace;
	private double coutReservation;
	public BilletReservation(){
		super();
		numPlace = (int) Math.round(Math.random() % 200);
	}
	
	
	@Override
	public void calculPrix() {
		super.calculPrix();
		this.prix += coutReservation;
	}


	public int getNumPlace() {
		return numPlace;
	}
	public double getCoutReservation() {
		return coutReservation;
	}
	public void setCoutReservation(double coutReservation) {
		this.coutReservation = coutReservation;
	}
	
}
